package com.zombies.list.linkedlist.singlecirclelinkedlist;

import java.util.LinkedList;

/**
 * @author zombies
 * @create 2022-04-20 20:38
 */
public class MySingleCircleLinkedListTest {
    public static void main(String[] args) {

        MySingleCircleLinkedList<String> list = new MySingleCircleLinkedList<>();

        list.add("a1");
        list.add("a2");
        list.add("a3");
        list.add("a4");
        list.add("a5");
        System.out.println(list.getLast());
        list.show();
        System.out.println(list.removeLast());
        list.show();


    }
}
